Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use AdhocWorkspace instead of MSBuildWorkspace #1987

Merged
merged 2 commits into from
Aug 16, 2022

Conversation

zahalzel
Copy link
Contributor

Changes CodeAnalysisHelper to use AdhocWorkspace instead of MSBuildWorkspace

With this change, Document filepaths are always found via Document.Name whereas before, .cs files had the filepath stored in Document.FilePath

@zahalzel zahalzel requested a review from deepchoudhery August 16, 2022 19:53
@zahalzel zahalzel force-pushed the dev/zahalzel/adhoc_workspace branch from 7cde59d to af7462c Compare August 16, 2022 19:57
Copy link
Member

@deepchoudhery deepchoudhery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@zahalzel zahalzel merged commit f2c6b26 into main Aug 16, 2022
@zahalzel zahalzel deleted the dev/zahalzel/adhoc_workspace branch August 16, 2022 21:11
deepchoudhery added a commit that referenced this pull request Sep 1, 2022
* update Versions.props to preview 8.

* Use Document.Name for filepath

Co-authored-by: deepchoudhery <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants